package com.yx.xinruitu.entity;

public enum ResultEnum {
    SUCCESS("200", "success"),
    NOT_AUTH("403", "not auth"),
    FAILED("400", "failed"),
    ERROR("500", "ERROR");
    private final String status;
    private final String msg;

    ResultEnum(String status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    public String getStatus() {
        return status;
    }

    public String getMsg() {
        return msg;
    }

}
